package com.ihisomp;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * 标题: IhisOmpTomcatApplication.java
 * 业务描述: tomcat启动类
 * 作者: zy
 * 日期: 2022/1/22
 * 版本: V1.0
 */
public class IhisOmpTomcatApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        // 注意这里要指向原先用main方法执行的Application启动类
        return builder.sources(IhisOmpServerApplication.class);
    }

}
